home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload Trio 2 / Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO / dir24 / jnos110g.zip / FTP.H < prev    next >
C/C++ Source or Header  |  1994-04-17  |  645b  |  23 lines

  1. #ifndef _FTP_H
  2. #define _FTP_H
  3.   
  4. #ifndef _MAILBOX_H
  5. #include "mailbox.h"
  6. #endif
  7.   
  8. /* Definitions common to both FTP servers and clients */
  9. #define BLKSIZE 4096    /* Chunk size for file I/O */
  10.             /* Was too small for 9600 baud transfers - iw0cnb */
  11.   
  12. #define ASCII_TYPE  0
  13. #define IMAGE_TYPE  1
  14. #define LOGICAL_TYPE    2
  15.   
  16. /* In ftpsubr.c: */
  17. long sendfile __ARGS((FILE *fp,int s,int mode,int hash,struct mbx *m));
  18. long recvfile __ARGS((FILE *fp,int s,int mode,int hash));
  19. int isbinary __ARGS((FILE *fp));
  20. long getsize __ARGS((FILE *fp));
  21. unsigned long checksum __ARGS((FILE *fp, long n));
  22. #endif  /* _FTP_H */
  23.